ASP.NET MVC Controls
TemplateBind Method (ControlBuilder<TControl,TControlBuilder>)

The specified property name.
The specified item name in DataContext.
When the control works in template mode, bind the property which name is specified to some item which name is specified.
Syntax
'Declaration
 
Public Function TemplateBind( _
   ByVal propertyName As String, _
   ByVal boundName As String _
) As TControlBuilder

Parameters

propertyName
The specified property name.
boundName
The specified item name in DataContext.

Return Value

Current builder
Remarks
It only works in template mode.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ControlBuilder<TControl,TControlBuilder> Class
ControlBuilder<TControl,TControlBuilder> Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback